package com.app.server;
import com.app.model.DisasterReportingModel;
import com.app.model.UserModel;
import com.app.vo.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface DisasterReportingService extends IService<DisasterReportingModel> {
    //报灾信息列表
    DisasterReportingVo getDisasterList(Integer page, Integer limit,Integer departmentId,Integer type,Integer claimsSettlementStatus);

    //根据当前登录的单位查询列表
    DisasterReportingVo getDisasterByUnitsList(Integer page, Integer limit,Integer departmentId,Integer type,Integer unitsId,Integer claimsSettlementStatus);

    //用户报灾信息列表
    DisasterReportingVo getUserDisasterList(Integer page, Integer limit,Integer type,String openId);

    //野生动物救助根据类型查
    DisasterReportingVo getDisasterByType(Integer page,Integer limit,Integer type);

    //获取灾害各类型统计饼图
    List<ValueAndNameVo> getDisasterTypeCount();

    //获取每个月各报灾类型统计折线图
    DisasterTypeVo getDisasterMonthCount();

    //获取每个月各报灾类型统计折线图
    DisasterTypeVo2 getDisasterMonthCount2();


    Integer selectCountByType(Integer id);

    //处理状态为3时 带处理对象
    DisasterReportingModel setDisasterHandle(DisasterReportingModel disasterReporting);

    List<UserModel> whiteList();
}
